package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (Ioo)实体类
 *
 * @author makejava
 * @since 2020-10-27 17:33:10
 */
@ApiModel(value = "库存操作单实体类")
public class Ioo implements Serializable {
    private static final long serialVersionUID = -69599686660476848L;
    /**
     * 库存操作单id
     */
    @ApiModelProperty(name = "iooId",notes = "库存操作单id",value = "库存操作单id")
    private Integer iooId;
    /**
     * 商品类型名
     */
    @ApiModelProperty(name = "goodsTypeName",notes = "商品类型名",value = "商品类型名")
    private String goodsTypeName;
    /**
     * 来源
     */
    @ApiModelProperty(name = "source",notes = "来源",value = "来源")
    private String source;
    /**
     * 供应商名
     */
    @ApiModelProperty(name = "supplier",notes = "供应商名",value = "供应商名")
    private String supplier;
    /**
     * 入库门店名
     */
    @ApiModelProperty(name = "warBranchName",notes = "入库门店名",value = "入库门店名")
    private String warBranchName;
    /**
     * 入库柜台名
     */
    @ApiModelProperty(name = "warCounterName",notes = "入库柜台名",value = "入库柜台名")
    private String warCounterName;
    /**
     * 单据编号
     */
    @ApiModelProperty(name = "bill",notes = "单据编号",value = "单据编号")
    private String bill;
    /**
     * 订单号（外键）
     */
    @ApiModelProperty(name = "orderId",notes = "订单号",value = "订单号")
    private Integer orderId;
    /**
     * 创单日期
     */
    @ApiModelProperty(name = "addTime",notes = "创单日期",value = "创单日期")
    private String addTime;
    /**
     * 出库门店名
     */
    @ApiModelProperty(name = "waroBranchName",notes = "出库门店名",value = "出库门店名")
    private String waroBranchName;
    /**
     * 出库柜台名
     */
    @ApiModelProperty(name = "waroCounterName",notes = "出库柜台名",value = "出库柜台名")
    private String waroCounterName;
    /**
     * 重量
     */
    @ApiModelProperty(name = "iooWeight",notes = "重量",value = "重量")
    private String iooWeight;
    /**
     * 成本
     */
    @ApiModelProperty(name = "iooCost",notes = "成本",value = "成本")
    private Double iooCost;
    /**
     * 数量
     */
    @ApiModelProperty(name = "iooCount",notes = "数量",value = "数量")
    private Integer iooCount;
    /**
     * 系数
     */
    @ApiModelProperty(name = "iooRatio",notes = "系数",value = "系数")
    private String iooRatio;
    /**
     * 标签金额
     */
    @ApiModelProperty(name = "labelMoney",notes = "标签金额",value = "标签金额")
    private Double labelMoney;
    /**
     * 创单人
     */
    @ApiModelProperty(name = "creator",notes = "创单人",value = "创单人")
    private String creator;
    /**
     * 审批人
     */
    @ApiModelProperty(name = "approver",notes = "审批人",value = "审批人")
    private String approver;
    /**
     * 审批日期
     */
    @ApiModelProperty(name = "approvalDate",notes = "审批日期",value = "审批日期")
    private String approvalDate;
    /**
     * 状态（1：已通过，0：待审批，-1：已驳回，2：被驳回）
     */
    @ApiModelProperty(name = "iooState",notes = "状态",value = "状态")
    private Integer iooState;
    /**
     * 驳回原因
     */
    @ApiModelProperty(name = "iooRfr",notes = "驳回原因",value = "驳回原因")
    private String iooRfr;
    /**
     * 库存单类型（1：入库单，2：出库单，3：调拨单，4：门店退货单，5：采购退货单）
     */
    @ApiModelProperty(name = "typeState",notes = "1：入库单，2：出库单，3：调拨单，4：门店退货单，5：采购退货单",value = "库存单类型")
    private int typeState;
    /**
     * 库存单激活状态（1：正常，0：被删除）
     */
    @ApiModelProperty(name = "iooStatus",notes = "1：正常，0：被删除",value = "库存单激活状态")
    private int iooStatus;
    /**
     * 商品实体集合
     */
    private List<Goods> goodsList;
    /**
     * 订单
     */
    private Order order;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }


    public int getTypeState() {
        return typeState;
    }

    public void setTypeState(int typeState) {
        this.typeState = typeState;
    }

    public Integer getIooId() {
        return iooId;
    }

    public void setIooId(Integer iooId) {
        this.iooId = iooId;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getWarBranchName() {
        return warBranchName;
    }

    public void setWarBranchName(String warBranchName) {
        this.warBranchName = warBranchName;
    }

    public String getWarCounterName() {
        return warCounterName;
    }

    public void setWarCounterName(String warCounterName) {
        this.warCounterName = warCounterName;
    }

    public String getBill() {
        return bill;
    }

    public void setBill(String bill) {
        this.bill = bill;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getWaroBranchName() {
        return waroBranchName;
    }

    public void setWaroBranchName(String waroBranchName) {
        this.waroBranchName = waroBranchName;
    }

    public String getWaroCounterName() {
        return waroCounterName;
    }

    public void setWaroCounterName(String waroCounterName) {
        this.waroCounterName = waroCounterName;
    }

    public String getIooWeight() {
        return iooWeight;
    }

    public void setIooWeight(String iooWeight) {
        this.iooWeight = iooWeight;
    }

    public Double getIooCost() {
        return iooCost;
    }

    public void setIooCost(Double iooCost) {
        this.iooCost = iooCost;
    }

    public Integer getIooCount() {
        return iooCount;
    }

    public void setIooCount(Integer iooCount) {
        this.iooCount = iooCount;
    }

    public String getIooRatio() {
        return iooRatio;
    }

    public void setIooRatio(String iooRatio) {
        this.iooRatio = iooRatio;
    }

    public Double getLabelMoney() {
        return labelMoney;
    }

    public void setLabelMoney(Double labelMoney) {
        this.labelMoney = labelMoney;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getApprover() {
        return approver;
    }

    public void setApprover(String approver) {
        this.approver = approver;
    }

    public String getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(String approvalDate) {
        this.approvalDate = approvalDate;
    }

    public Integer getIooState() {
        return iooState;
    }

    public void setIooState(Integer iooState) {
        this.iooState = iooState;
    }

    public String getIooRfr() {
        return iooRfr;
    }

    public void setIooRfr(String iooRfr) {
        this.iooRfr = iooRfr;
    }

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    public int getIooStatus() {
        return iooStatus;
    }

    public void setIooStatus(int iooStatus) {
        this.iooStatus = iooStatus;
    }

    @Override
    public String toString() {
        return "Ioo{" +
                "iooId=" + iooId +
                ", goodsTypeName='" + goodsTypeName + '\'' +
                ", source='" + source + '\'' +
                ", supplier='" + supplier + '\'' +
                ", warBranchName='" + warBranchName + '\'' +
                ", warCounterName='" + warCounterName + '\'' +
                ", bill='" + bill + '\'' +
                ", orderId=" + orderId +
                ", addTime=" + addTime +
                ", waroBranchName='" + waroBranchName + '\'' +
                ", waroCounterName='" + waroCounterName + '\'' +
                ", iooWeight='" + iooWeight + '\'' +
                ", iooCost=" + iooCost +
                ", iooCount=" + iooCount +
                ", iooRatio='" + iooRatio + '\'' +
                ", labelMoney=" + labelMoney +
                ", creator='" + creator + '\'' +
                ", approver='" + approver + '\'' +
                ", approvalDate=" + approvalDate +
                ", iooState=" + iooState +
                ", iooRfr='" + iooRfr + '\'' +
                ", typeState=" + typeState +
                ", iooStatus=" + iooStatus +
                ", goodsList=" + goodsList +
                ", order=" + order +
                '}';
    }
}